const caches = require('./cache');
/**这俩货可以封装在一起 */
import unlike from './unlike';
import history from './history';
import app from './app';
const {urlFactory} = require('./urlFactory');


//用户信息
let user;
try{
    user = JSON.parse(caches.get('member_info')) || {};
}catch(e){
    caches.clear('member_info');
    user = {}
}

export default {
    user,
    caches,
    unlike,
    history,
    urlFactory,
    app
}